package com.peas.platform.framework.mybatisplus.interceptor;

import java.util.Map;

/**
 * mybatis plus拦截器只需要实现这个接口
 *
 * @author caizhh
 */
public interface BaseInnerInterceptor {

    Integer sort();

    void beforeSelect(String method, String sql, Map<String, Object> param);

    void beforeInsert(String method, String sql, Map<String, Object> param);

    void beforeUpdate(String method, String sql, Map<String, Object> param);

    void beforeDelete(String method, String sql, Map<String, Object> param);

}
